package com.ambow.Entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.*;

@Entity
@Table
public class DeliverToStudent extends ID implements Serializable {
   private Date deliverTime;
   //�໹δ���� �¶���Ϊ�޸ĵ���
   //private Package packagee;
   @ManyToOne(targetEntity=PackageBook.class)
   @JoinColumn(name="packageBook_id",referencedColumnName="id")
   private PackageBook packageBook;
   
   @ManyToOne(targetEntity=Student.class)
   @JoinColumn(name="student_id",referencedColumnName="id")
   private Student student;
   
   @ManyToOne(targetEntity=Operator.class)
   @JoinColumn(name="operator_id",referencedColumnName="id")
   private Operator operator;

	public Date getDeliverTime() {
		return deliverTime;
	}
	
	public void setDeliverTime(Date deliverTime) {
		this.deliverTime = deliverTime;
	}
	
	public PackageBook getPackageBook() {
		return packageBook;
	}
	
	public void setPackageBook(PackageBook packageBook) {
		this.packageBook = packageBook;
	}
	
	public Student getStudent() {
		return student;
	}
	
	public void setStudent(Student student) {
		this.student = student;
	}
	
	public Operator getOperator() {
		return operator;
	}
	
	public void setOperator(Operator operator) {
		this.operator = operator;
	}
	   
   
}
